package com.easylinkin.linkappapi.lobar.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.linkappapi.lobar.dto.WarningDTO;
import com.easylinkin.linkappapi.lobar.entity.Warning;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * @author xiaoyang
 * @version 1.0
 * @date 2022/07/22
 * @description
 */
public interface WarningMapper {

  IPage<Warning> queryList(Page page, @Param("warningDTO") WarningDTO warningDTO);

  void handleWarning(Warning warning);

  List<Warning> queryList(@Param("warningDTO") WarningDTO warningDTO);
}
